import { createApp } from 'vue'
import ECharts from 'vue-echarts'
import * as echarts from 'echarts'
import 'virtual:svg-icons-register'
import App from './App.vue'
import { createPinia } from 'pinia'
import './tailwind.css'
import ElementPlus from 'element-plus'
import router from './router'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'default-passive-events'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.component('v-chart', ECharts)
app.use(ElementPlus, {
	locale: zhCn,
})
app.config.globalProperties.$echarts = echarts
app.mount('#app')
